package com.tracesystem.util.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class GlobalException extends RuntimeException {
    private Integer code;
    public GlobalException(String message,Integer code){
        super(message);
        this.code =code;
    }
}
